-
Home
-
Security Ninja – WordPress Security Plugin & Firewall
-
5.244 (latest)
-
Code
-
Classes
- Wf_Sn_Crypto
Total Complexity |
56 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
405 |
Lines of code |
195 |
Logical lines of code |
126 |
Comment lines |
137 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_file_access_request() |
A |
58 |
10 |
13 |
verify_jwt() |
A |
52 |
8 |
23 |
generate_key() |
S |
55 |
6 |
19 |
generate_iv() |
S |
55 |
6 |
19 |
validate_secure_file_token() |
S |
57 |
3 |
15 |
generate_secure_file_url() |
S |
58 |
3 |
14 |
encrypt() |
S |
62 |
3 |
11 |
get_site_id() |
S |
62 |
3 |
10 |
decrypt() |
S |
64 |
2 |
9 |
get_encryption_key() |
S |
66 |
2 |
8 |
hash() |
S |
70 |
2 |
6 |
verify_hash() |
S |
70 |
2 |
6 |
rotate_keys() |
S |
66 |
2 |
8 |
generate_secure_file_token() |
S |
58 |
1 |
14 |
generate_jwt() |
S |
58 |
1 |
14 |
base64url_encode() |
S |
77 |
1 |
3 |
base64url_decode() |
S |
75 |
1 |
3 |